<%--
  Created by IntelliJ IDEA.
  User: 黄同学
  Date: 2020/11/15
  Time: 15:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" pageEncoding="UTF-8" import="java.util.*" %>
<%@include file="../common/IncludeTop.jsp"%>
    <script>
        function reloadImage() {
            //document.getElementById("btn").disabled=true;
            document.getElementById("imgservlet").src = 'validation';
        }
    </script>
    <div id="Catalog">
        <form action="signOn" method="post">
            <p>Please enter your username and password</p>
            </p>
            <p>
                Username:<input type="text" name="username" /><br />
                Password:<input type="password" name="password" /><br />
                &nbsp;&nbsp;&nbsp;验证码：<input type="text" name="valistr" /><br />
                &nbsp;&nbsp;&nbsp;
                <img id= "valiImage" src= "code" width="" height="" alt="" />
            </p>
            <input type="submit" name="signon" value="Login" onclick="password()"/>
        </form>
        Need a user name and password?
        <a href="register">Register Now!</a>

    </div>

<%@include file="../common/IncludeBottom.jsp"%>